package com.yyx.lgb.manager.mapper;

import com.yyx.lgb.model.entity.product.Category;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * ClassName: CategoryMapper
 * Package: com.yyx.lgb.manager.mapper
 * Description:
 *
 * @Author: yyx
 * @Create: 2025/8/6 - 10:11
 */
@Mapper
public interface CategoryMapper {
    List<Category> findByParentId(Long parentId);

    int countByParentId(Long id);

    List<Category> selectAll();

    void batchInsert(List cachedDataList);
}
